import request from "./comm.js";

// 获取广告图
export function restInformationBanner(type) {
	return request({
		url: "/rest/information/banner/"+type,
		method: "GET"
	});
}

// 门店列表
export function restDeptGet(params) {
	return request({
		url: "/rest/dept",
		method: "GET",
		data: params
	});
}

// 门店详情
export function restDeptGetDetail(params) {
	return request({
		url: "/rest/dept/detail",
		method: "GET",
		data: params
	});
}

// 根据日期获取技师
export function restDeptGetServerUser(params) {
	return request({
		url: "/rest/dept/getServerUser",
		method: "GET",
		data: params
	});
}

// 查询技师的可用时间
export function restDeptGetUserTime(params) {
	return request({
		url: "/rest/dept/getUserTime",
		method: "GET",
		data: params
	});
}
